using System;

namespace umbracoRss.BusinessLogic
{
	/// <summary>
	/// Summary description for rssCreateTasks.
	/// </summary>
	public class rssCreateTasks : umbraco.interfaces.ITask
	{
		public rssCreateTasks()
		{
		}
		#region TaskI Members

        public int UserId { private get; set; }
        public int TypeID { get; set; }
        public string Alias { get; set; }
        public int ParentID { get; set; }

		public bool Save() 
		{
			Data.MakeNew(Alias);
			return true;
		}

		public bool Delete() 
		{
			Data.Delete(ParentID);
			return true;
		}


		#endregion
	}
}
